package com.xiaoshuidi.cloud.module.bpm.service.memo;

import com.xiaoshuidi.cloud.framework.common.pojo.CommonResult;
import com.xiaoshuidi.cloud.framework.common.pojo.PageResult;
import com.xiaoshuidi.cloud.module.bpm.controller.admin.memo.vo.BpmMemoPageVO;
import com.xiaoshuidi.cloud.module.bpm.controller.admin.memo.vo.BpmMemoVO;
import com.xiaoshuidi.cloud.module.bpm.dal.dataobject.memo.BpmMemoDO;

import java.util.Date;
import java.util.List;

public interface BpmMemoService {
    CommonResult<String> createMemo(BpmMemoVO bpmAddMemoVO);

    CommonResult<String> updateMemo(BpmMemoVO bpmAddMemoVO);

    CommonResult<String> completeMemo(BpmMemoVO bpmAddMemoVO);

    List<BpmMemoDO> getMemoList(BpmMemoVO bpmAddMemoVO);

    BpmMemoDO getMemoById(BpmMemoVO bpmAddMemoVO);

    List<Date> getMemoDate();

    Integer getMemoNum(BpmMemoVO bpmAddMemoVO);

    PageResult<BpmMemoDO> getMemoPageList(BpmMemoPageVO bpmMemoPageVO);

    Long getMemoCount(Long userId);
}
